<style>
	.img-thumbnail{
		width: 160px;
		height: 120px;
	}
</style>
<ion-view>
	<ion-content>
		<div class="content no-header ionic-pseudo">
			<form name="theForm" novalidate="novalidate">
				<div class="list card">
					<div class="item item-avatar">
						<img src="/Public/images/wkshop-logo.jpeg">
						<h2>【汪卡在线】---- 汪卡实名认证</h2>
						<p>编辑修改个人信息进行汪卡实名认证</p>
					</div>
					<div class="item">
						<div class="list">
							<label class="item item-input">
								<span class="input-label">真实姓名：</span>
								<input type="text" name="realname" placeholder="请输入您的真实姓名" ng-model="user.realname" required>
							</label>
							<label class="item item-input">
								<span class="input-label">证件号码：</span>
								<input type="text" name="idcard" placeholder="请输入您的证件号码" ng-model="user.idcard" is-idcard required>
							</label>
							<label class="item item-input">
								<span class="input-label">手机号码：</span>
								<input type="tel" placeholder="请输入手机号码" name="mobile"
								       ng-model="user.mobile" ng-pattern="/^1[3|4|5|7|8][0-9]\d{4,8}$/" required>
							</label>
							<label class="item item-input" ng-hide="theForm.mobile.$invalid">
								<span class="input-label">发送验证码：</span>
								<button class="button button-small button-dark" button-widget="sms" ac="bindWaka"
								        mobile="{{user.mobile}}" ng-disabled="theForm.mobile.$invalid">
									立即发送短信验证码
								</button>
							</label>
							<label class="item item-input" ng-hide="theForm.mobile.$invalid">
								<span class="input-label">短信验证码：</span>
								<input type="tel" name="code" placeholder="输入短信验证码" ng-model="user.code" is-code="sms" mobile="{{user.mobile}}" required>
							</label>
							<div class="item item-input item-select">
								<div class="input-label">所在学校：</div>
								<select name="schoolname" ng-model="user.school" required
								        ng-options="cat.catname group by cat.optgroup for cat in school track by cat.catid">
									<option selected value="">请选择所在学校</option>
								</select>
							</div>
							<div class="item item-input item-select">
								<div class="input-label">所学学制：</div>
								<select name="educational" ng-model="user.educational" required>
									<option value="" selected>请选择所学学制</option>
									<option value="yl">专科</option>
									<option value="al">本科</option>
									<option value="cg">硕士</option>
									<option value="cg">博士</option>
								</select>
							</div>
							<label class="item item-input">
								<span class="input-label">入学时间：</span>
								<input type="date" name="rs_time" placeholder="请输入您的入学时间" ng-model="user.rs_time" required>
							</label>
							<label class="item item-input">
								<span class="input-label">所学专业：</span>
								<input type="text" name="subject" placeholder="请输入您的所学专业" ng-model="user.subject" required>
							</label>
							<label class="item item-input">
								<span class="input-label">学籍号：</span>
								<input type="text" name="student_card" placeholder="请输入您的学籍号" ng-model="user.student_card" required>
							</label>
							<label class="item item-input">
								<span class="input-label">所在宿舍：</span>
								<input type="text" name="dormitory" placeholder="请输入您的所在宿舍" ng-model="user.dormitory" required>
							</label>
							<div class="item item-input item-select">
								<div class="input-label">所属尽调员：</div>
								<select name="survey" ng-model="user.survey" required ng-options="cat.nickname for cat in survey track by cat.survey_id">
									<option value="" selected>请选择所属尽调员</option>
								</select>
							</div>
							<label class="item item-input">
								<span class="input-label">身份证正面：</span>
								<div class="item-image">
									<span upload-widget="idcard1" for-src="{{user.idcard_url_1}}" title="上传身份证正面"></span>
								</div>
							</label>
							<label class="item item-input">
								<span class="input-label">身份证反面：</span>
								<div class="item-image">
									<span upload-widget="idcard2" for-src="{{user.idcard_url_2}}" title="上传身份证背面"></span>
								</div>
							</label>
							<label class="item item-input">
								<span class="input-label">学生证：</span>
								<div class="item-image">
									<span upload-widget="xscard" for-src="{{user.student_card_url}}" title="上传学生证"></span>
								</div>
							</label>
						</div>
					</div>
					<!--<div class="row">
						<div class="col-40">
							<button class="button button-small button-balanced button-block button-positive" ng-click="submit()">
								确定
							</button>
						</div>
						<div class="col-20"></div>
						<div class="col-40">
							<button class="button button-small button-assertive button-block button-positive" type="reset">重置</button>
						</div>
					</div>-->
			</form>
		</div>
		<div style="height: 1px;"></div>
	</ion-content>
</ion-view>